import App from './App'
import '@/style/index.scss'
// #ifndef VUE3
import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'
import store from '@/store/index.js'
Vue.use(uView)
// 引入http
import '@/utils/request.js'
uni.$http = uni.$u.http
Vue.config.productionTip = false
App.mpType = 'app'
// 引入全局混入
import globalMixins from '@/mixins/index.js'
Vue.mixin(globalMixins)
const app = new Vue({
  ...App,
  store
})
app.$mount()
// #endif

// #ifdef VUE3
import {
  createSSRApp
} from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif
